home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
dev
/
lang
/
sofa.lha
/
sofa
/
smalleiffel
/
contrib
/
edb
/
READ_ME
< prev
next >
Wrap
Lisp/Scheme
|
2000-03-25
|
2KB
|
59 lines
Collection of scripts to use gdb as source level debugger for SmallEiffel.
--- Contents
(1) Emacs code
edb.el xemacs interface of gdb for debugging SmallEiffel.
edb19.el emacs-19.xx interface gdb for debugging SmallEiffel.
(2) Perl scripts
sec SmallEiffel compiler driver
add-line-directive
Patch script for C codes generated by SmallEiffel to use
gdb source level debugger. Change in-lined
debugging information
to the line directives (#line ...).
move-if-changed
script called by add-line-directive
(3) include file
gc-inc: include file template to use conservative gc package.
-- Requirement
SmallEiffel -0.79
xemacs20.x or emacs19.x
gdb-4.17
perl5.004
-- How to install
1. Place edb.el or edb19.el under the emacs load-path directory. Byte
compiling is recommended.
Insert autoload command into your .emacs
(autoload 'edb "edb" nil t)
2. Place 3 perl scripts on your favarite directory. chmod +x them.
These scripts assumes perl is installed at /usr/local/bin. If the
location is different,
rewrite header comment of these scripts.
3. If you want to use Boehm's gc library, place gc-inc at /usr/local/include.
Remove first # of the line `#$gc = "c";' line of the `sec' script.
The gc library is assumed to be installed under /usr/local.
-- How to use.
1. compile
% sec target root [option ..]
target : target program name
root : root class name
option : assertion level -debug ~ -boost, -opt
-c c-source-file
(Caution. root creation procedure must be `make'.)
2. Debug
Almost same as gdb (command name is edb)
--------------
Masato Mogaki mmogaki@kanagawa.hitachi.co.jp
DA Development Dept.
GPCD Hitachi,Ltd.